package com.atguigu.p1;

public class Customer {

	//属性客户名和账户名
	private String firstName;
	private String lastName;
	private Account account;
	
	//构造器
	public Customer()
	{
		
	}
	
	//构造器设置客户的名字
	public Customer(String f,String l)
	{
		this.firstName = f;
		this.lastName = l;
	}
	
	//获取客户名
	public String getFirstName()
	{
		return firstName;
	}
	
	public String getLastName()
	{
		return lastName;
	}

	//设置客户的账户
	public void setAccount(Account account)
	{
		this.account = account;
	}
	
	//获取客户的账户
	public Account getAccount()
	{
		return account;
	}
}
